package cn.yh.nft.turbo.api.collection.request;

import cn.yh.nft.turbo.api.collection.constant.CollectionEvent;
import cn.yh.nft.turbo.api.goods.constant.GoodsEvent;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName: CollectionCreateRequest
 * @Author: 草莓爱上啵啵
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class CollectionCreateRequest extends BaseCollectionRequest{
    /**
     * 藏品名称
     */
    private String name;

    /**
     * 藏品封面
     */
    private String cover;

    /**
     * 藏品详情
     */
    private String detail;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 数量
     */
    private Long quantity;

    /**
     * 藏品创建时间
     */
    private Date createTime;

    /**
     * 藏品发售时间
     */
    private Date saleTime;

    /**
     * 藏品创建者Id
     */
    private String creatorId;


    @Override
    public GoodsEvent getEventType() {
        return GoodsEvent.CHAIN;
    }
}
